﻿
using System.ComponentModel;

using DevExpress.Xpo;

using Kuiper.Core;
using Kuiper.Core.EditorAttributes;

[NonPersistent]
public abstract class KPBaseObject : XPLiteObject
{
	[Key(true), ReadOnly(true)]
	[Browsable(false)]
	public int OID { get; set; }

	public KPBaseObject() { }

	public KPBaseObject(KPSession session) : base(session) { }

	public virtual void OnBeforeSave() { }

	public virtual void OnAfterSave() { }

	public virtual void OnBeforeDelete() { }

	public virtual void OnAfterDelete() { }
}
